using System;
using System.Collections.Generic;
using System.Text;

namespace VisualGTest.Binding
{
    /// <summary>
    /// A test identifier, with string parts.
    /// </summary>
    class TestId
    {
        #region property backing variables
        private string _testCaseName;
        private string _testName;
        #endregion

        #region properties
        public string TestCaseName
        {
            get { return _testCaseName; }
            set { _testCaseName = value; }
        }

        public string TestName
        {
            get { return _testName; }
            set { _testName = value; }
        }
        #endregion

        public TestId()
        {
            TestCaseName = "";
            TestName = "";
        }

        public TestId(string testCaseName, string testName)
        {
            this.TestCaseName = testCaseName;
            this.TestName = testName;
        }

        public override string ToString()
        {
            return string.Format("{0}.{1}", TestCaseName, TestName);
        }
    }
}
